import request from "@/api/index"

export default {
    //添加
    add(params) {
        return request.post("/base/diagnosisItem/add", {
            ...params
        })
    },
    //编辑
    edit(params) {
        return request.post("/base/diagnosisItem/edit", {
            ...params
        })
    },
    //批量删除
    delListById(idList) {
        return request.get("/base/diagnosisItem/delListById", { idList })
    },
    //条件查询
    queryByCondition(params) {
        return request.post("/base/diagnosisItem/queryByCondition", {
            ...params
        })
    },
    //分页查询
    queryPageByCondition(params) {
        return request.post("/base/diagnosisItem/queryPageByCondition", {
            ...params
        })
    },
}
